package com.service.business.otc.controller.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.math.BigDecimal;
@Data
public class OrderTradeReq {

    @NotNull(message = "args_empty_otc_buy_num")
    @Positive(message = "args_empty_otc_positive_buy_num")
    private BigDecimal buyNum;

    @NotBlank(message = "args_empty_otc_order_no")
    private String otcNo;

    @NotBlank(message = "args_empty_pay_pwd")
    private String payPwd;
}
